package MySQL

type Price_line struct {
	ID uint `gorm:"primary_key" csv:"-" form:"id" json:"id" xml:"id"`

	// 以上为数据库专属字段

	Model             *int64   `gorm:"NOT NULL" json:"model" csv:"model" form:"model" xml:"model" binding:"required"`
	Brand             *int64   `gorm:"NOT NULL" json:"brand" csv:"brand" form:"brand" xml:"brand" binding:"required"`
	BodyType          *int64   `gorm:"NOT NULL" json:"body_type" csv:"bodyType" form:"body_type" xml:"body_type" binding:"required"`
	FuelType          *int64   `gorm:"NOT NULL" json:"fuel_type" csv:"fuelType" form:"fuel_type" xml:"fuel_type" binding:"required"`
	Gearbox           *int64   `gorm:"NOT NULL" json:"gearbox" csv:"gearbox" form:"gearbox" xml:"gearbox" binding:"required"`
	Power             *int64   `gorm:"NOT NULL" json:"power" csv:"power" form:"power" xml:"power" binding:"required"`
	Kilometer         *float64 `gorm:"NOT NULL" json:"kilometer" csv:"kilometer" form:"kilometer" xml:"kilometer" binding:"required"`
	NotRepairedDamage *int64   `gorm:"NOT NULL" json:"not_repaired_damage" csv:"notRepairedDamage" form:"not_repaired_damage" xml:"not_repaired_damage" binding:"required"`
	RegionCode        *int64   `gorm:"NOT NULL" json:"region_code" csv:"regionCode" form:"region_code" xml:"region_code" binding:"required"`
	V_0               *float64 `gorm:"NOT NULL" json:"v_0" csv:"v_0" form:"v_0" xml:"v_0" binding:"required"`
	V_1               *float64 `gorm:"NOT NULL" json:"v_1" csv:"v_1" form:"v_1" xml:"v_1" binding:"required"`
	V_2               *float64 `gorm:"NOT NULL" json:"v_2" csv:"v_2" form:"v_2" xml:"v_2" binding:"required"`
	V_3               *float64 `gorm:"NOT NULL" json:"v_3" csv:"v_3" form:"v_3" xml:"v_3" binding:"required"`
	V_4               *float64 `gorm:"NOT NULL" json:"v_4" csv:"v_4" form:"v_4" xml:"v_4" binding:"required"`
	V_5               *float64 `gorm:"NOT NULL" json:"v_5" csv:"v_5" form:"v_5" xml:"v_5" binding:"required"`
	V_6               *float64 `gorm:"NOT NULL" json:"v_6" csv:"v_6" form:"v_6" xml:"v_6" binding:"required"`
	V_7               *float64 `gorm:"NOT NULL" json:"v_7" csv:"v_7" form:"v_7" xml:"v_7" binding:"required"`
	V_8               *float64 `gorm:"NOT NULL" json:"v_8" csv:"v_8" form:"v_8" xml:"v_8" binding:"required"`
	V_9               *float64 `gorm:"NOT NULL" json:"v_9" csv:"v_9" form:"v_9" xml:"v_9" binding:"required"`
	V_10              *float64 `gorm:"NOT NULL" json:"v_10" csv:"v_10" form:"v_10" xml:"v_10" binding:"required"`
	V_11              *float64 `gorm:"NOT NULL" json:"v_11" csv:"v_11" form:"v_11" xml:"v_11" binding:"required"`
	V_12              *float64 `gorm:"NOT NULL" json:"v_12" csv:"v_12" form:"v_12" xml:"v_12" binding:"required"`
	V_13              *float64 `gorm:"NOT NULL" json:"v_13" csv:"v_13" form:"v_13" xml:"v_13" binding:"required"`
	V_14              *float64 `gorm:"NOT NULL" json:"v_14" csv:"v_14" form:"v_14" xml:"v_14" binding:"required"`
	Usedtime          *int64   `gorm:"NOT NULL" json:"usedtime" csv:"usedtime" form:"usedtime" xml:"usedtime" binding:"required"`
	Certain           bool     `gorm:"NOT NULL;DEFAULT:FALSE" json:"certain" form:"certain" xml:"certain"`
	Price             *float64 `json:"price" csv:"price" form:"price" xml:"price"`
}
